import React from 'react'
// ===================================================================== Temp
import FormModal from '#cpt/temp/FormModal'
// ===================================================================== component
class Index extends React.Component{
	state = {
		data:[],
		pag: {},
		selectedKeys:[],
		//修改账期
		formData:[
			{ label: '作废原因',		name: 'remark', type: 'textarea', full:true, required:true },
		]
	}
	
	model = {}
	
	open = rows => {
		const { uuid } = rows
		this.modal.open({ formRef:this.formRef })
		this.submit = { uuid }
		this.formRef.setValue(rows)
	}

	render(){
		return FormModal.call(this,{ title:'作废原因', api: 'bill/del' })
	}
}

export default Index